package com.tanhua.manage.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum Month implements IEnum<Integer> {
    Jan(1,"1"),
    Feb(2,"2"),
    Mar(3,"3"),
    Apr(4,"4"),
    May(5,"5"),
    Jun(6,"6"),
    Jul(7,"7"),
    Aug(8,"8"),
    Sep(9,"9"),
    Oct(10,"10"),
    Nov(11,"11"),
    Dec(12,"12");

    private int value;
    private String desc;

    Month(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}
